通过每次循环访问变量 x 时添加值,让我们均匀地放置砖块列。

  • 将矩形宽度更改为 40。将高度更改为 10。将颜色更改为 "yellow"
  • Add Value 拖动到嵌套的 column 循环中。
  • 将名称更改为 x,并将值更改为 80

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)